package com.lt.crm.mapper;

import com.lt.crm.pojo.SysRight;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lt.crm.pojo.SysRole;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_right】的数据库操作Mapper
* @createDate 2024-06-18 16:58:48
* @Entity geng.pojo.SysRight
*/
public interface SysRightMapper extends BaseMapper<SysRight> {

    List<SysRight> findRightsByRole(SysRole sysRole);

    List<SysRight> findRightsByRole(Long id);

}




